Add support for psyclone 3.3, nvfortran and amdflang#338
Add support for psyclone 3.3, nvfortran and amdflang#338Sergi Siso (sergisiso) wants to merge 9 commits into
Conversation
Thomas Bendall (tommbendall)
left a comment
There was a problem hiding this comment.
Looks fine from a code owner perspective. I'm not sure how it was previously compiling without r_def being imported!
|
Thomas Bendall (@tommbendall) |
That makes sense, thanks for explaining! |
Matthew Hambley (MatthewHambley)
left a comment
There was a problem hiding this comment.
Build system code owner saying "this looks okay."
| # under which the code may be used. | ||
| ############################################################################## | ||
|
|
||
| $(info ** Chosen GNU C++ compiler) |
There was a problem hiding this comment.
Except it says "AMD Clang" at the top.
|
|
||
| $(info ** Chosen GNU C++ compiler) | ||
|
|
||
| CXX_RUNTIME_LIBRARY=stdc++ |
There was a problem hiding this comment.
Does the AMD compiler use the GNU C++ runtime?
There was a problem hiding this comment.
No, it uses the Clang runtime, the message was a leftover from copy-pasting the GNU file.
There was a problem hiding this comment.
If it uses something other than stdc++ then CXX_RUNTIME_LIBRARY needs to refer to it. Probably c++, since it's Clang based.
There was a problem hiding this comment.
Sorry for the confusion, the default and recommended library for clang in Linux is -lstdc++, not -lc++, the mk is correct.
|
Matthew Hambley (@MatthewHambley) I addressed your comments and merged with main. I don't think I can cover more bullet points form the description as I cannot launch the rose-stem tests myself, but let me know if there is something else needed. |
Matthew Hambley (MatthewHambley)
left a comment
There was a problem hiding this comment.
Code Owner (Build System) Review: Looks like there was a minor misunderstanding.
|
|
||
| $(info ** Chosen GNU C++ compiler) | ||
|
|
||
| CXX_RUNTIME_LIBRARY=stdc++ |
There was a problem hiding this comment.
If it uses something other than stdc++ then CXX_RUNTIME_LIBRARY needs to refer to it. Probably c++, since it's Clang based.
…rans in psyclone 3.3
PR Summary
Sci/Tech Reviewer:
Code Reviewer: Andrew Coughtrie (@andrewcoughtrie)
Add support for amdflang and provide workarounds for the nvfortran limitations discussed with Hacka Fett (@christophermaynard)
Also add support for the upcoming psyclone release (3.3) and update broken psyclone links and oudated names. These are not breaking changes, the code remains compabible with the current psyclone release 3.2.2.
Code Quality Checklist
Testing
trac.log
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review